package com.example.yjhindex.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Article implements Serializable {

    @TableId
    private int id;
    private String title;
    private int userId;
    private String content;
    private String createTime;
    private String image;
}
